]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
8 years agomisc: Make IBus a mandatory dependency
Carlos Garnacho [Wed, 17 Jan 2018 16:01:24 +0000 (17:01 +0100)]
misc: Make IBus a mandatory dependency

IBus was initially made optional as gnome-shell depended on too
recent API. This API is now old enough and gnome-shell is committing
further to IBus by implementing a ClutterInputMethod through it.
Let's just make IBus a mandatory dependency, instead of making code
paths trickier to cater for situations where it's missing.

8 years agokeyboard: Remove duplicate code
Carlos Garnacho [Fri, 22 Dec 2017 16:25:48 +0000 (17:25 +0100)]
keyboard: Remove duplicate code

The same calls happen right at the beginning of the function.

8 years agokeyboard: Move extended keys pop up/down into the Key object
Carlos Garnacho [Fri, 22 Dec 2017 14:59:19 +0000 (15:59 +0100)]
keyboard: Move extended keys pop up/down into the Key object

We do not need the parent Keyboard object to handle those specially, the
code can be self-contained enough. The Key object will simply emit
pressed/released events containing the keycode/string, be it from the
parent key or one contained in the BoxPointer.

8 years agoviewSelector: Send first printable keystroke to the search entry
Carlos Garnacho [Fri, 22 Dec 2017 11:30:11 +0000 (12:30 +0100)]
viewSelector: Send first printable keystroke to the search entry

StIMText used to handle key events for IM consumption in the capture phase,
this made the search box work automagically with nothing explicitly focusing
it. Since it's no longer the case, it has to be done somewhere.

8 years agokeyboard: add a special KeyContainer actor to contain keyboard layers
Carlos Garnacho [Wed, 20 Dec 2017 12:08:50 +0000 (13:08 +0100)]
keyboard: add a special KeyContainer actor to contain keyboard layers

Instead of manually resizing each key everytime the keyboard needs to
relayout, have a special grid container that will preserve aspect when
resized.

This actor works in two stages though, first the keys need to be added
and then layoutButtons() need to be called for the actors to be
reparented to the container with the right attachment options.

8 years agoshell: Remove gdk_screen property/getter
Carlos Garnacho [Thu, 14 Dec 2017 16:22:59 +0000 (17:22 +0100)]
shell: Remove gdk_screen property/getter

It's used nowhere.

8 years agoshell: Remove intricate key event handling code
Carlos Garnacho [Thu, 14 Dec 2017 16:21:16 +0000 (17:21 +0100)]
shell: Remove intricate key event handling code

We no longer need to do contortions with key events, as Clutter
key events will be already handed to IMs through ClutterInputMethod.

8 years agost: Remove StIMText
Carlos Garnacho [Thu, 14 Dec 2017 16:20:49 +0000 (17:20 +0100)]
st: Remove StIMText

It is entirely unused now.

8 years agost: Make StEntry rely entirely on ClutterInputMethod/Focus
Carlos Garnacho [Thu, 14 Dec 2017 16:19:01 +0000 (17:19 +0100)]
st: Make StEntry rely entirely on ClutterInputMethod/Focus

StIMText is no longer needed here.

8 years agoibusCandidatePopup: Feed OSK suggestions from ibus panel candidates
Carlos Garnacho [Wed, 6 Dec 2017 13:44:16 +0000 (14:44 +0100)]
ibusCandidatePopup: Feed OSK suggestions from ibus panel candidates

We don't currently hide the ibus completion panel, and this is done from
within the popup that we are meant to hide itself, so thoroughly sucks.

8 years agokeyboard: Add visible property
Carlos Garnacho [Fri, 15 Dec 2017 16:53:48 +0000 (17:53 +0100)]
keyboard: Add visible property

So its visibility can be queried externally.

8 years agokeyboard: Add Suggestions object/actor
Carlos Garnacho [Wed, 6 Dec 2017 12:46:02 +0000 (13:46 +0100)]
keyboard: Add Suggestions object/actor

This will display completion suggestions, that when clicked will get the
text inserted into the current IM focus.

8 years agokeyboard: Lookup minimum number of grid slots for each keymap
Carlos Garnacho [Tue, 5 Dec 2017 21:41:32 +0000 (22:41 +0100)]
keyboard: Lookup minimum number of grid slots for each keymap

Instead of doing max() of all. Results on better used screen space on
every keymap.

8 years agokeyboard: Use InputMethod underneath
Carlos Garnacho [Tue, 5 Dec 2017 19:05:18 +0000 (20:05 +0100)]
keyboard: Use InputMethod underneath

8 years agomisc: Add InputMethod class
Carlos Garnacho [Tue, 5 Dec 2017 19:05:00 +0000 (20:05 +0100)]
misc: Add InputMethod class

This is a ClutterInputMethod implementation using IBus underneath. The
input method will interact with the currently focused ClutterInputFocus,
be it shell chrome or wayland clients through the text_input protocol.

8 years agokeyboard: Ensure to resize keys after layer change
Carlos Garnacho [Fri, 1 Dec 2017 19:17:17 +0000 (20:17 +0100)]
keyboard: Ensure to resize keys after layer change

The keys possibly need resizing after a (new) layer has been set, there's
however calling places that don't. Instead, fold this._redraw() into
setActiveLayer().

8 years agost: Make st_button_fake_release() work with touch press
Carlos Garnacho [Fri, 10 Nov 2017 17:29:53 +0000 (18:29 +0100)]
st: Make st_button_fake_release() work with touch press

The st_button_release() call wouldn't happen because StButton does not
set priv->button_mask on touch events. And if we make it called, we can't
try to unset the device grab at the end of the function, as device/sequence
are unset earlier on.

8 years agomain: Stop acquiring caribou name
Carlos Garnacho [Fri, 10 Nov 2017 17:29:26 +0000 (18:29 +0100)]
main: Stop acquiring caribou name

This is not necessary anymore.

8 years agokeyboard: Rework OSK
Carlos Garnacho [Sat, 5 Aug 2017 10:21:30 +0000 (12:21 +0200)]
keyboard: Rework OSK

Caribou is no longer used to load keyboard layouts,
gnome-shell uses the JSON files extracted from Unicode
CLDR instead.

8 years agokeyboard: Drop message tray source, and tray focus handling
Carlos Garnacho [Sat, 5 Aug 2017 10:20:29 +0000 (12:20 +0200)]
keyboard: Drop message tray source, and tray focus handling

These are long unused.

8 years agomain: Load OSK layouts resource
Carlos Garnacho [Thu, 10 Aug 2017 19:27:25 +0000 (21:27 +0200)]
main: Load OSK layouts resource

8 years agodata: Add keyboard layout JSON files
Carlos Garnacho [Thu, 10 Aug 2017 19:06:25 +0000 (21:06 +0200)]
data: Add keyboard layout JSON files

These have been created with the script at
git://repo.or.cz/cldr2json.git to translate the XML android
keymaps at http://www.unicode.org/Public/cldr/latest/keyboards.zip
into JSON, easier to parse from gnome-shell.

8 years agodata: Add README and supporting script to update keyboard layouts from CLDR
Carlos Garnacho [Fri, 10 Nov 2017 14:26:48 +0000 (15:26 +0100)]
data: Add README and supporting script to update keyboard layouts from CLDR

The README describes the steps in detail, but most of it is abstracted away
by the update-osk-layouts.sh script.

8 years agokeyboard: Restore intended OSK visibility behavior
Carlos Garnacho [Thu, 18 Jan 2018 17:56:10 +0000 (18:56 +0100)]
keyboard: Restore intended OSK visibility behavior

Getting the necessary "setting enabled, or input from touchscreen"
conditions to have the OSK shown are not enough on the lack of a
current focus. As we are setting up the caret tracker here, wait for
the focus in event before showing the keyboard.

This fixes 2 issues, with the setting disabled it became really hard
to get the OSK hidden on eg. touchscreen->pointer device switches,
as visibility only depended on the a11y setting here. And secondly,
enabling the setting would always end up with the OSK being shown
regardless of focus, while it should stay hidden if there's no text
edition.

https://bugzilla.gnome.org/show_bug.cgi?id=788188

8 years agoprivate: Avoid unnecessary conversions in shadow computation
Florian Müllner [Sat, 7 Oct 2017 08:15:18 +0000 (10:15 +0200)]
private: Avoid unnecessary conversions in shadow computation

The type was changed from double to float for no apparent reason
when moving code in commit 5060081db5f.

https://bugzilla.gnome.org/show_bug.cgi?id=788627

8 years agoUpdate zh_CN translation
Tong Hui [Mon, 5 Feb 2018 01:39:38 +0000 (09:39 +0800)]
Update zh_CN translation

8 years agoUpdate Polish translation
Piotr Drąg [Sun, 4 Feb 2018 22:37:21 +0000 (23:37 +0100)]
Update Polish translation

8 years agoUpdate Finnish translation
Jiri Grönroos [Sat, 3 Feb 2018 12:04:25 +0000 (12:04 +0000)]
Update Finnish translation

8 years agoUpdate Indonesian translation
Kukuh Syafaat [Thu, 1 Feb 2018 17:55:15 +0000 (17:55 +0000)]
Update Indonesian translation

8 years agoUpdate Swedish translation
Anders Jonsson [Wed, 31 Jan 2018 22:39:24 +0000 (22:39 +0000)]
Update Swedish translation

8 years agopadOsd: Fixup to the previous commit
Carlos Garnacho [Tue, 30 Jan 2018 15:33:40 +0000 (16:33 +0100)]
padOsd: Fixup to the previous commit

Forgot to squash this change before pushing, I will leave something in the
money jar as I close the door.

8 years agopadOsd: Ensure to pick pad devices only
Carlos Garnacho [Fri, 19 Jan 2018 09:45:50 +0000 (10:45 +0100)]
padOsd: Ensure to pick pad devices only

If the underlying X11 input driver creates multiple devices from a single
device node, we may end up picking up the wrong device. So, instead of
picking the first device based on node and bailing out if it's not a pad,
pick the first pad that has that device node, and bail out if there is
none.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/10

Closes: #10
8 years agobuild: Update gvc to support renamed options
Iñigo Martínez [Tue, 30 Jan 2018 12:37:38 +0000 (13:37 +0100)]
build: Update gvc to support renamed options

gvc has made some recent changes that rename its user options
following meson guidelines for GNOME packages[0].

The options used in gvc as a subproject have been renamed
accordingly.

[0] https://wiki.gnome.org/Initiatives/GnomeGoals/MesonPorting

8 years agoUpdate Hungarian translation
Balázs Meskó [Sun, 28 Jan 2018 21:49:02 +0000 (21:49 +0000)]
Update Hungarian translation

8 years agobuild: Update gvc to not require ALSA support
Bastien Nocera [Fri, 26 Jan 2018 10:24:03 +0000 (11:24 +0100)]
build: Update gvc to not require ALSA support

ALSA support is only used in gnome-settings-daemon, so always disable
the option, which wouldn't work on non-Linux anyway.

8 years agoUpdate Spanish translation
Daniel Mustieles [Thu, 25 Jan 2018 11:51:04 +0000 (11:51 +0000)]
Update Spanish translation

8 years agoUpdate Slovak translation
Dušan Kazik [Mon, 22 Jan 2018 19:41:26 +0000 (19:41 +0000)]
Update Slovak translation

8 years agonetworkAgent: Pick up VPN service dir from pkg-config
Florian Müllner [Sun, 21 Jan 2018 20:04:37 +0000 (21:04 +0100)]
networkAgent: Pick up VPN service dir from pkg-config

It turns out that NetworkManager does export the directory as pkg-config
variable after all, so use that instead of building the path ourselves
from the prefix.

https://bugzilla.gnome.org/show_bug.cgi?id=789811

8 years ago[l10n] Update Catalan translation
Gil Forcada [Sun, 21 Jan 2018 23:22:18 +0000 (00:22 +0100)]
[l10n] Update Catalan translation

8 years agoUpdate Catalan translation
Jordi Mas [Sat, 20 Jan 2018 21:10:11 +0000 (22:10 +0100)]
Update Catalan translation

8 years agoUpdate German translation
Tim Sabsch [Fri, 19 Jan 2018 23:04:32 +0000 (23:04 +0000)]
Update German translation

8 years agodnd: Declare restore location variables
Marco Trevisan (Treviño) [Thu, 7 Dec 2017 00:03:51 +0000 (19:03 -0500)]
dnd: Declare restore location variables

https://bugzilla.gnome.org/show_bug.cgi?id=791233

8 years agoappDisplay: don't try to close the popup menu that is already destroyed
Marco Trevisan (Treviño) [Wed, 6 Dec 2017 05:55:37 +0000 (00:55 -0500)]
appDisplay: don't try to close the popup menu that is already destroyed

This would lead to a JS error otherwise, as we might end up
in deleting actors that have been already destructed.

https://bugzilla.gnome.org/show_bug.cgi?id=791233

8 years agokeyboard: Don't pop up on touch events
Florian Müllner [Mon, 9 Oct 2017 10:53:04 +0000 (12:53 +0200)]
keyboard: Don't pop up on touch events

We want touch events to enable the keyboard and focus tracking, but
not to actually show it right away. Implement that behavior by only
changing the visibility of the keyboard when triggered by a GSettings
change.

https://bugzilla.gnome.org/show_bug.cgi?id=788188

8 years agokeyboard: Split enabled setting from enabled state
Florian Müllner [Mon, 9 Oct 2017 10:51:08 +0000 (12:51 +0200)]
keyboard: Split enabled setting from enabled state

We enable the keyboard when it is either enabled explicitly via
a11y settings or when using a touch device. We'll soon want to
special-case changes to the GSettings, so track its value in a
dedicated property.

https://bugzilla.gnome.org/show_bug.cgi?id=788188

8 years agokeyboard: Minor cleanup
Florian Müllner [Fri, 13 Oct 2017 15:46:58 +0000 (17:46 +0200)]
keyboard: Minor cleanup

_syncEnabled() will call _setupKeyboard() if necessary, so no need
to call it explicitly before.

https://bugzilla.gnome.org/show_bug.cgi?id=788188

8 years agoUpdate Friulian translation
Fabio Tomat [Mon, 15 Jan 2018 10:54:48 +0000 (10:54 +0000)]
Update Friulian translation

8 years agonetwork: unregister the agent when it's disabled
Lubomir Rintel [Wed, 6 Dec 2017 15:55:20 +0000 (16:55 +0100)]
network: unregister the agent when it's disabled

When the agent doesn't work (e.g. when the screen is locked), it shouldn't be
registered with NM. Otherwise it will keep cancelling the requests that
could happily be serviced with system secrets.

https://bugzilla.gnome.org/show_bug.cgi?id=789811

8 years agonetwork: remove the vpn request when it's serviced
Lubomir Rintel [Wed, 6 Dec 2017 15:55:15 +0000 (16:55 +0100)]
network: remove the vpn request when it's serviced

The native agent already forgets about the request at the point it's
serviced and the further attempt to use it (e.g. cancel it when the screen
is locked) will trigger an assertion failure:

  ** (gnome-shell:30862): CRITICAL **: shell_network_agent_respond: assertion 'request != NULL' failed

https://bugzilla.gnome.org/show_bug.cgi?id=789811

8 years agonetwork: port to libnm
Lubomir Rintel [Tue, 31 Oct 2017 10:38:20 +0000 (11:38 +0100)]
network: port to libnm

The libnm-glib is depreacted for a long time already.

https://bugzilla.gnome.org/show_bug.cgi?id=789811

8 years agoui: Add keyboard accessibility dialog
Olivier Fourdan [Tue, 7 Nov 2017 14:40:51 +0000 (15:40 +0100)]
ui: Add keyboard accessibility dialog

Show a dialog informing the user each time the keyboard accessibility
flags are changed by one of the clutter backends (either from toggle
keys or two-keys-off modifiers).

https://bugzilla.gnome.org/show_bug.cgi?id=788564

8 years agonetwork: Fix visibility of VPN section
Florian Müllner [Thu, 21 Dec 2017 15:51:28 +0000 (16:51 +0100)]
network: Fix visibility of VPN section

Commit f2a9467f91b was too eager to simplify the code, and removed
the bits that hid the section in case no VPNs are set up - add them
back to fix the visibility.

https://bugzilla.gnome.org/show_bug.cgi?id=787845

8 years agoUpdate Finnish translation
Jiri Grönroos [Tue, 9 Jan 2018 18:24:32 +0000 (18:24 +0000)]
Update Finnish translation

8 years agolocation: Use translated reason string
Florian Müllner [Mon, 8 Jan 2018 15:56:43 +0000 (16:56 +0100)]
location: Use translated reason string

Gio now has API to look up localized strings from desktop files,
so we can display a correctly translated reason where available.

https://bugzilla.gnome.org/show_bug.cgi?id=779413

8 years agonetworkAgent: Update VPN config path
Florian Müllner [Mon, 11 Dec 2017 17:37:45 +0000 (18:37 +0100)]
networkAgent: Update VPN config path

The location moved a while ago, so update the path to point to
the non-deprecated location.

https://bugzilla.gnome.org/show_bug.cgi?id=791487

8 years agoman: Update project website
Piotr Drąg [Sun, 7 Jan 2018 20:39:18 +0000 (21:39 +0100)]
man: Update project website

8 years agoUpdated Slovenian translation
Matej Urbančič [Sun, 31 Dec 2017 10:38:12 +0000 (11:38 +0100)]
Updated Slovenian translation

8 years agoUpdate Swedish translation
Anders Jonsson [Tue, 26 Dec 2017 11:44:38 +0000 (11:44 +0000)]
Update Swedish translation

8 years agoUpdate Turkish translation
Emin Tufan Çetin [Wed, 20 Dec 2017 19:56:13 +0000 (19:56 +0000)]
Update Turkish translation

8 years agoUpdate Latvian translation
Rūdolfs Mazurs [Mon, 18 Dec 2017 18:16:45 +0000 (20:16 +0200)]
Update Latvian translation

8 years agobackground: don't leak wall clock when background changes
Ray Strode [Fri, 15 Dec 2017 15:05:34 +0000 (10:05 -0500)]
background: don't leak wall clock when background changes

The background code allocates a GnomeWallClock when its first created,
but neglects to drop a reference to that clock at destroy time.
The undestroyed clocks lead to a timerfd leak that eventually prevents
the shell from functioning.

https://bugzilla.gnome.org/show_bug.cgi?id=791655

8 years agoUpdate Friulian translation
Fabio Tomat [Fri, 15 Dec 2017 12:30:08 +0000 (12:30 +0000)]
Update Friulian translation

8 years agoUpdate Spanish translation
Daniel Mustieles [Wed, 13 Dec 2017 15:35:10 +0000 (15:35 +0000)]
Update Spanish translation

8 years agosystem: Align submenu labels with parent
Florian Müllner [Sun, 19 Nov 2017 19:35:25 +0000 (20:35 +0100)]
system: Align submenu labels with parent

All section titles use an icon, while all corresponding submenu items
are plain-text. As a result, labels in submenus aren't aligned with
the labels in the parent, which makes them harder to read and look
unbalanced. Address this by adding additional whitespace to submenu
items to account for the additional elements in the title.

https://bugzilla.gnome.org/show_bug.cgi?id=706191

8 years agoUpdate Arabic translation
Khaled Hosny [Sun, 10 Dec 2017 09:32:35 +0000 (11:32 +0200)]
Update Arabic translation

8 years agoUpdate Catalan translation
Jordi Mas [Fri, 8 Dec 2017 09:51:15 +0000 (10:51 +0100)]
Update Catalan translation

8 years agoUpdate Icelandic translation
Sveinn í Felli [Fri, 8 Dec 2017 09:01:12 +0000 (09:01 +0000)]
Update Icelandic translation

(cherry picked from commit 74f4447b38e33dafbdd08a72368280d3f0193c48)

8 years agodateMenu: Fix possible crash with unknown locations
Bastien Nocera [Mon, 4 Dec 2017 13:30:01 +0000 (14:30 +0100)]
dateMenu: Fix possible crash with unknown locations

If there are locations unknown to the libgweather version gnome-shell is
using, don't crash.

JS ERROR: TypeError: b.location is null
WorldClocksSection<._clocksChanged/<@resource:///org/gnome/shell/ui/dateMenu.js:141:1
WorldClocksSection<._clocksChanged@resource:///org/gnome/shell/ui/dateMenu.js:139:9

https://bugzilla.gnome.org/show_bug.cgi?id=791148

8 years agodateMenu: Ignore malformed world-clocks settings
Bastien Nocera [Mon, 4 Dec 2017 13:30:01 +0000 (14:30 +0100)]
dateMenu: Ignore malformed world-clocks settings

Guard against a malformed setting that doesn't contain a
'location' key.

https://bugzilla.gnome.org/show_bug.cgi?id=791148

8 years agodash: Do not shadow ClutterActor's destroy()
Marco Trevisan (Treviño) [Tue, 5 Dec 2017 22:04:24 +0000 (17:04 -0500)]
dash: Do not shadow ClutterActor's destroy()

Since commit ef1e27966db2 turned DashItemContainer into an StWidget,
the destroy() method overrides the ClutterActor method, which is at
the very least bad style. Instead, follow the usual pattern of using
a ::destroy handler.

https://bugzilla.gnome.org/show_bug.cgi?id=791233

8 years agodash: Make sure item labels are only destroyed once
Marco Trevisan (Treviño) [Tue, 5 Dec 2017 01:45:35 +0000 (20:45 -0500)]
dash: Make sure item labels are only destroyed once

Labels are currently destroyed from both animateOutAndDestroy()
and destroy(), which now (rightfully) triggers a gjs warning. As
the label is created unconditionally since commit 36e5ae4a250,
mirror that and always release it in destroy() and hide it
elsewhere.

https://bugzilla.gnome.org/show_bug.cgi?id=791233

8 years agoUpdate Indonesian translation
Kukuh Syafaat [Tue, 5 Dec 2017 14:58:58 +0000 (14:58 +0000)]
Update Indonesian translation

8 years agobuild: Remove Build API wrapper
Florian Müllner [Fri, 1 Dec 2017 15:02:24 +0000 (16:02 +0100)]
build: Remove Build API wrapper

GNOME Continuous gained native meson support, so we don't need the
wrapper script anymore.

8 years agobuild: Stop detecting features automatically
Florian Müllner [Sat, 25 Nov 2017 06:15:39 +0000 (07:15 +0100)]
build: Stop detecting features automatically

Auto-detect options add some convenience for platforms where a
particular feature isn't available - systemd on non-Linux OS comes
to mind - but the downside is that it is easy to accidentally build
without a desired feature. We consider the latter much more serious
nowadays, so turn our auto-detect options into regular boolean
options.

https://bugzilla.gnome.org/show_bug.cgi?id=791007

8 years agobuild: Remove 'enable' prefix from option names
Florian Müllner [Sat, 25 Nov 2017 06:10:26 +0000 (07:10 +0100)]
build: Remove 'enable' prefix from option names

Meson options are typed, so the prefix isn't necessary, and indeed
looks odd when used to disable the option:
 -Denable_foo=false

Also replace underscores with dashes, which is the preferred meson
style.

https://bugzilla.gnome.org/show_bug.cgi?id=791007

8 years agoUpdated Hebrew tranlsation
Yosef Or Boczko [Sun, 26 Nov 2017 20:32:27 +0000 (22:32 +0200)]
Updated Hebrew tranlsation

8 years agoUpdated Hebrew tranlsation
Yosef Or Boczko [Sun, 26 Nov 2017 20:19:39 +0000 (22:19 +0200)]
Updated Hebrew tranlsation

8 years agoUpdated Lithuanian translation
Aurimas Černius [Sat, 25 Nov 2017 19:53:01 +0000 (21:53 +0200)]
Updated Lithuanian translation

8 years agoUpdated Czech translation
Marek Cernocky [Wed, 22 Nov 2017 09:17:51 +0000 (10:17 +0100)]
Updated Czech translation

8 years agosystemActions: Add more keywords
Jeremy Bicha [Tue, 29 Aug 2017 20:26:03 +0000 (16:26 -0400)]
systemActions: Add more keywords

https://bugzilla.gnome.org/show_bug.cgi?id=786987

8 years agosystemActions: Use Title Case
Jeremy Bicha [Tue, 29 Aug 2017 20:23:48 +0000 (16:23 -0400)]
systemActions: Use Title Case

Use Title Case for the new GNOME 3.26 System Action shortcuts,
to match basically everything else in the Activities Overview.

https://bugzilla.gnome.org/show_bug.cgi?id=786987

8 years agoextension: log message if extension could not be installed
Gautier Pelloux-Prayer [Fri, 6 Jan 2017 12:08:29 +0000 (13:08 +0100)]
extension: log message if extension could not be installed

https://bugzilla.gnome.org/show_bug.cgi?id=776940

8 years agostatus/keyboard: Reset menuItems and Label objects on change
Marco Trevisan (Treviño) [Sat, 28 Oct 2017 07:23:02 +0000 (02:23 -0500)]
status/keyboard: Reset menuItems and Label objects on change

In the current code it could happen that we've menuItems and indicatorLabels
for sources that aren't anymore around, because in case a source is removed
we don't cleanup the their container objects.
Also, we should nullify InputManager's _currentSource when sources change
or it might point to some invalid data again.

So it could happen that we try to access an invalid menuitem or label
if a source change happens mentioning a source that has been deleted.

https://bugzilla.gnome.org/show_bug.cgi?id=788931

8 years agoUpdate Czech translation
Petr Kovar [Sun, 19 Nov 2017 11:36:17 +0000 (12:36 +0100)]
Update Czech translation

8 years agooverview: Protect ::drag-end handlers
Carlos Garnacho [Thu, 16 Nov 2017 16:27:12 +0000 (17:27 +0100)]
overview: Protect ::drag-end handlers

These end up emitting item-drag-end/window-drag-end pretty much
without checks. Given the MetaDnd object may end up emitting
::drag-leave as a result of the plugin ending its grab, this
would result on spurious emission of those events and subsequent
warnings.

For extra paranoia, the _inDrag variable has been split into
_inItemDrag/_inWindowDrag so we can't cross the streams.

https://bugzilla.gnome.org/show_bug.cgi?id=784545

9 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Thu, 9 Nov 2017 19:20:46 +0000 (20:20 +0100)]
Updated Norwegian bokmål translation.

9 years agoUpdate Arabic translation
Khaled Hosny [Fri, 3 Nov 2017 08:18:20 +0000 (10:18 +0200)]
Update Arabic translation

9 years agopanel: focus windows on Escape key press
Stefano Facchini [Wed, 1 Nov 2017 18:43:11 +0000 (19:43 +0100)]
panel: focus windows on Escape key press

https://bugzilla.gnome.org/show_bug.cgi?id=671121

9 years agostyle: Fix left tile preview
Florian Müllner [Wed, 1 Nov 2017 18:54:01 +0000 (19:54 +0100)]
style: Fix left tile preview

Windows that are tiled to the left/right only use rounded corners
where they are attached to the edge, the preview should follow that.

9 years agowindowAttentionHandler: Fix typo
Florian Müllner [Thu, 26 Oct 2017 17:54:09 +0000 (19:54 +0200)]
windowAttentionHandler: Fix typo

Gah, thanks Alessandro Bono for the quick catch ...

9 years agowindowAttentionHandler: Follow app policy for attention notifications
Florian Müllner [Mon, 23 Oct 2017 08:06:18 +0000 (10:06 +0200)]
windowAttentionHandler: Follow app policy for attention notifications

While window attention notifications are created by the shell itself
rather than applications (most likely as a result of focus stealing
prevention), users still commonly link them to the application for
which they are shown. It makes therefore sense to follow the appropriate
policy set by the user rather than showing them unconditionally.

https://bugzilla.gnome.org/show_bug.cgi?id=779974

9 years agotheme: Restore drag effect between workspaces
Alessandro Bono [Thu, 26 Oct 2017 17:09:37 +0000 (19:09 +0200)]
theme: Restore drag effect between workspaces

When dragging a window between two workspaces a light effect used
to be present. The effect was lost probably during the theme revamp
in version 3.16.

https://bugzilla.gnome.org/show_bug.cgi?id=789103

9 years agodialog: Reset initial focus on destroy
Florian Müllner [Thu, 5 Oct 2017 08:06:10 +0000 (10:06 +0200)]
dialog: Reset initial focus on destroy

Since 0b02f757f862 we track the button that should have key focus
when the dialog is opened. However when the dialog is reused, the
button may get destroyed - clear the initial focus in that case to
allow setButton() to set a new one.

https://bugzilla.gnome.org/show_bug.cgi?id=788542

9 years agoUpdate Dutch translation
Hannie Dumoleyn [Wed, 25 Oct 2017 09:06:02 +0000 (09:06 +0000)]
Update Dutch translation

9 years agomain: use SA_NODEFER to track signals to being able to raise from alarm
Marco Trevisan (Treviño) [Tue, 24 Oct 2017 05:28:33 +0000 (00:28 -0500)]
main: use SA_NODEFER to track signals to being able to raise from alarm

After we receive one of the tracked signals, in case we get stuck inside
the gjs_dumpstack () call, we use an alarm to raise the previously emitted
signal, however without using SA_NODEFER, the raise inside the alarm handler
will be ignored.

To avoid to handle new signals caused by the handler calls, once we get the
first signal, we just ignore them all as they could only lead to dirty traces.

Also, cleaning up a bit the code, and disabling the shell log handler
in dump_gjs_stack_alarm_sigaction since this might lead to a new
gjs_dumpstack () request.

https://bugzilla.gnome.org/show_bug.cgi?id=789237

9 years agomain: call gjs_dumpstack on aborts and traps and optionally on segfaults
Marco Trevisan (Treviño) [Fri, 20 Oct 2017 10:41:59 +0000 (05:41 -0500)]
main: call gjs_dumpstack on aborts and traps and optionally on segfaults

In order to debug issues triggered by JS code we might need to
see the stack of it, this is not normally visible in static stack traces,
thus we need to call gjs_dumpstack () before dying the process.

Intercepting signals SIGABRT, SIGTRAP (needed for catching fatal glib
errors) SIGFPE and SIGIOT by default, while introducing a new
'backtrace-segfaults' flag for the SHELL_DEBUG environment variable to
do the same on SIGSEGV and SIGBUS (this is a precaution to avoid that we
corrupt the stack for automatic errors trackers).

In any case after dumping the stack we raise the signal again, in order
to make the system aware of it.

https://bugzilla.gnome.org/show_bug.cgi?id=789237

9 years agowindow-tracker: use generic meta_window_get_sandboxed_app_id
Marco Trevisan (Treviño) [Sat, 21 Oct 2017 02:49:24 +0000 (21:49 -0500)]
window-tracker: use generic meta_window_get_sandboxed_app_id

This is valid for both Flatpak's and snaps now, we can use a more generic
API then.

https://bugzilla.gnome.org/show_bug.cgi?id=789277

9 years agoUpdate zh_CN translation
Mingcong Bai [Sat, 21 Oct 2017 11:35:59 +0000 (19:35 +0800)]
Update zh_CN translation

9 years agonetwork: Spawn wifi panel for further WPA enterprise configuration
Florian Müllner [Fri, 20 Oct 2017 13:29:07 +0000 (15:29 +0200)]
network: Spawn wifi panel for further WPA enterprise configuration

Settings recently split Wi-Fi configuration from the Network panel,
so launch that instead.

https://bugzilla.gnome.org/show_bug.cgi?id=789231

9 years agobluetooth: Add missing 'BluetoothHardwareAirplaneMode' to D-Bus interface
Mario Sanchez Prada [Tue, 17 Oct 2017 16:51:48 +0000 (18:51 +0200)]
bluetooth: Add missing 'BluetoothHardwareAirplaneMode' to D-Bus interface

This D-Bus property was never been added here, which caused inconsistencies
under some scenarios (e.g. coming back from suspend) if some devices were
previously paired, since _sync() would then make the bluetooth menu visible
unconditially, because of the proxied property evaluating to 'false'.

Adding this to the D-Bus interface makes sure that it's no longer undefined
and returns the right value, fixing the bug.

https://bugzilla.gnome.org/show_bug.cgi?id=789110